package com.cloud.mongodb.demo.dao;

import com.cloud.mongodb.demo.entity.User;
import com.cloud.mongodb.demo.vo.UserCountGroupBy;

import java.util.List;

public interface UserRepositoryEnhance {
    /**
     * 根据性别类型获取列表
     * @param sexType
     * @return
     */
    List<User> findListBySexType(String sexType);

    List<UserCountGroupBy>  countUserGroupBySex(Integer sex);
}
